package com.yunshang.shoppingmall.service;

import com.yunshang.shoppingmall.entity.Freight;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface FreightService {
    int deleteByPrimaryKey(Integer id);

    int insert(Freight record);

    int insertSelective(Freight record);

    Freight selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Freight record);

    int updateByPrimaryKey(Freight record);

    List<Freight> selectAll();

    Freight selectFreight(@Param("weight") Double weight, @Param("ids")String ids);

    List<Freight>  selectFreight1(@Param("ids")String ids);
}
